<?php /* Smarty version 2.6.2, created on 2011-09-17 16:49:00
         compiled from home1.tpl */ ?>
<div class="MainContent">
<?php echo ' 
<style>
.tabbed_area .tabs {
	margin:6px; padding:0px;
	margin-left: 0px;
	padding-left: 0px;
	text-align: left;
	
}

.tabbed_area .tabs li {
	list-style:none;		
	display:inline;
	padding-left:5px;
	margin: 0px;	
}
.tabbed_area .tabs li a {
	background-color:#464c54;
	color:#ffebb5;
	padding:6px 14px 6px 14px;
	text-decoration:none;
	font-weight:bold;
	
	
	width: 100px;
	
}
.tabbed_area .tabs li a:hover {
	background-color:#2f343a;
	border-color:#2f343a;
}
.tabbed_area .tabs li a.active {
	background-color:#F5F5F6;
	color:#282e32;
	border:1px solid #DADADA; 
	border-bottom: 1px solid #ffffff;
	color:red;
	background-image:url(images/bg_title_box.jpg);
	
	
}
.content {
	background-color:#ffffff;
	padding:10px;
	margin-top:2px;
	border:1px solid #DADADA; 	
	font-family:Arial, Helvetica, sans-serif;
	font-size : 12px;
	
}
</style> 
'; ?>

<div class="MainContent MainTab">
	<div class="tabbed_area">
		<ul class="tabs">
			<li ><a href="?a=home&type=<?php echo $this->_tpl_vars['premiumGroupId']; ?>
" title="content_1" class="tab <?php if ($this->_tpl_vars['groupId'] == $this->_tpl_vars['premiumGroupId']): ?>active<?php endif; ?>">Program Activing</a></li>
			<li><a href="?a=home&type=<?php echo $this->_tpl_vars['premiumGroupId']; ?>
" title="content_3" class="tab <?php if ($this->_tpl_vars['groupId'] == 9): ?>active<?php endif; ?>">News</a></li>
			<li><a href="?a=home&type=<?php echo $this->_tpl_vars['scamGroupId']; ?>
" title="content_2" class="tab <?php if ($this->_tpl_vars['groupId'] == $this->_tpl_vars['scamGroupId']): ?>active<?php endif; ?>">Scam</a></li>
			<li><a href="?a=home&type=<?php echo $this->_tpl_vars['closeGroupId']; ?>
" title="content_3" class="tab <?php if ($this->_tpl_vars['groupId'] == $this->_tpl_vars['closeGroupId']): ?>active<?php endif; ?>">Close</a></li>
		</ul>
	</div>
</div>	
<div class="content" >
<?php if (! $this->_tpl_vars['groups']): ?>
<br> <br> <br><br> <br>
There are no programs in group
<br> <br> <br><br> <br>
<?php else: ?>
<?php if (isset($this->_sections['g'])) unset($this->_sections['g']);
$this->_sections['g']['name'] = 'g';
$this->_sections['g']['loop'] = is_array($_loop=$this->_tpl_vars['groups']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['g']['show'] = true;
$this->_sections['g']['max'] = $this->_sections['g']['loop'];
$this->_sections['g']['step'] = 1;
$this->_sections['g']['start'] = $this->_sections['g']['step'] > 0 ? 0 : $this->_sections['g']['loop']-1;
if ($this->_sections['g']['show']) {
    $this->_sections['g']['total'] = $this->_sections['g']['loop'];
    if ($this->_sections['g']['total'] == 0)
        $this->_sections['g']['show'] = false;
} else
    $this->_sections['g']['total'] = 0;
if ($this->_sections['g']['show']):

            for ($this->_sections['g']['index'] = $this->_sections['g']['start'], $this->_sections['g']['iteration'] = 1;
                 $this->_sections['g']['iteration'] <= $this->_sections['g']['total'];
                 $this->_sections['g']['index'] += $this->_sections['g']['step'], $this->_sections['g']['iteration']++):
$this->_sections['g']['rownum'] = $this->_sections['g']['iteration'];
$this->_sections['g']['index_prev'] = $this->_sections['g']['index'] - $this->_sections['g']['step'];
$this->_sections['g']['index_next'] = $this->_sections['g']['index'] + $this->_sections['g']['step'];
$this->_sections['g']['first']      = ($this->_sections['g']['iteration'] == 1);
$this->_sections['g']['last']       = ($this->_sections['g']['iteration'] == $this->_sections['g']['total']);
?>
	<?php $this->assign('listing', $this->_tpl_vars['groups'][$this->_sections['g']['index']]); ?>
	<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "details_program.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
	<br/>
<?php endfor; endif; ?>
<?php endif; ?>
</div>
</div>